package com.naiterui.ehp.bs.cms.modules.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <pre>
 *      订单用户表
 * </pre>
 *
 * @author zhouyanxin
 * @date 2019/1/11 下午11:19
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_order_user")
public class OrderUser extends BaseEntity implements java.io.Serializable {

    /**
     * 订单类型 购物订单
     */
    public static final int ORDER_TYPE_SHOPPING = 0;
    /**
     * 订单类型 退货订单
     */
    public static final int ORDER_TYPE_RETURN_GOODS = 1;

    private static final long serialVersionUID = 7827146510817970988L;

    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 订单类型 0:购物订单  1:退货订单
     */
    private Integer type;
    /**
     * 收货人
     */
    private String receiver;
    /**
     * 省
     */
    private String provice;
    /**
     * 市
     */
    private String city;

    private Long cityId;
    /**
     * 县
     */
    private String country;
    /**
     * 详细地址
     */
    private String address;
    /**
     * 邮编
     */
    private String zipcode;
    /**
     * 电话
     */
    private String phone;

}
